package com.social.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.social.dao.model.UserTopic;
import com.social.dao.model.UserTopicExample;

public interface UserTopicMapper {
	int countByExample(UserTopicExample example);

	int deleteByExample(UserTopicExample example);

	int deleteByPrimaryKey(Integer id);

	int insert(UserTopic record);

	int insertSelective(UserTopic record);

	List<UserTopic> selectByExample(UserTopicExample example);

	UserTopic selectByPrimaryKey(Integer id);

	int updateByExampleSelective(@Param("record") UserTopic record,@Param("example") UserTopicExample example);

	int updateByExample(@Param("record") UserTopic record,@Param("example") UserTopicExample example);

	int updateByPrimaryKeySelective(UserTopic record);

	int updateByPrimaryKey(UserTopic record);

}
